const AV = require('../js_sdk/av-core-min');
const adapters = require('../js_sdk/leancloud-adapters-weapp.js');
let {ID,KEY,BASE} = require('../config/index')
AV.setAdapters(adapters);
AV.init({
  appId: ID,
  appKey: KEY,
  serverURL: BASE
});